package edu.kit.kitcampusguide.poimanager.model;

import java.util.ArrayList;

/**
 * 
 * @author Robert Reutter
 * This Class generates five POI-Objects and adds them to a ArrayList<POI> 
 */
public class POITestData {

	public static ArrayList<POI> generatePOIList()
	{
		ArrayList<POI> testData = new ArrayList<POI>();
		
		//constructor
		POI poi1 = new POI(1, "Mensa am Adenaurerring","essen", 49.011924, 8.41678);
		
		POI poi2 = new POI();
		poi2.setId(2);
		poi2.setName("Ballermann1 Imbiss-Restaurant");
		poi2.setLatitude(49.011480);
		poi2.setLongitude(8.413635);
		poi2.setCategory("essen");
		
		POI poi3 = new POI();
		poi3.setId(3);
		poi3.setName("Chemie Bibliothek");
		poi3.setLatitude(49.011280);
		poi3.setLongitude(8.413655);
		poi3.setCategory("bibliothek");
		
		POI poi4 = new POI();
		poi4.setId(4);
		poi4.setName("Informatik Bibliothek");
		poi4.setLatitude(49.013886);
		poi4.setLongitude(8.419786);
		poi4.setCategory("bibliothek");
		
		POI poi5 = new POI();
		poi5.setId(5);
		poi5.setName("WiWi Bibliothek");
		poi5.setLatitude(49.011954);
		poi5.setLongitude(8.41628);
		poi5.setCategory("bibliothek");
		
		//add the POI objects to ArrayList<POI> testData  
		testData.add(poi1);
		testData.add(poi2);
		testData.add(poi3);
		testData.add(poi4);
		testData.add(poi5);
	
		
		return testData;
	} //  generatePOIList()

} // class
